// swift-tools-version: 6.0
import PackageDescription

let package = Package(
    name: "LWPopupViewController",
    platforms: [
        .iOS(.v12) // 最低支持的iOS版本
    ],
    products: [
        .library(
            name: "LWPopupViewController",
            targets: ["LWPopupViewController"]),
    ],
    dependencies: [
        // 你的库依赖的其他库
        .package(url: "https://github.com/SnapKit/SnapKit", .upToNextMajor(from: "5.7.0"))
    ],
    targets: [
        .target(
            name: "LWPopupViewController",
            dependencies: ["SnapKit"]),
    ]
)
